<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="./css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="./css/wireframe.css" />
        <script src="./js/jquery-1.10.2.min.js"></script>
        <script src= "./js/bootstrap.min.js"></script>

		<script type="text/javascript" src="./js/confirmPassword.js"></script>
	</head>
	<body>
        <!--Empieza Navbar-->
		<div class="navbar navbar-default navbar-fixed-top" role="navigation" >
            <div class="container"> 
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span> 
                    </button>
                    <a href="index.html" class="navbar-brand"><img src="./img/logo.png " height="30" width="100"></a>
                </div>
                <div class="collapse navbar-collapse">
                    <form class="navbar-form navbar-right" role="search">
                        <div class="form-group">
                            <input type="text" class="form-control" name="username" placeholder="Username">
                        </div>
                        <div class="form-group">
                            <input type="text" class="form-control" name="password" placeholder="Password">
                        </div>
                        <button type="submit" class="btn btn-default">Sign In</button>
                    </form>
                </div>
            </div>
        </div>
        <!--Termina Navbar-->
        <!--Empieza Formulario-->
        <div class="container" style="margin-top:100px;">
            <div class="row">
                <div class="col-xs-3"></div>
                <div class="col-xs-6">
                    <div class="panel panel-default" align="center">
                        <div class="panel-heading">
                            <h3 class="panel-title">Sign up for FERS <small>It's free!</small></h3>
                        </div>
                        <div class="panel-body">
                            <form role="form" action="" onsubmit="return checkForm(this);">
                                <div class="row">
                                    <div class="col-xs-6 col-sm-6 col-md-6">
                                        <div class="form-group">
                                <input type="text" id="firstname" name="firstname" minlength=1 maxlength=30 class="form-control input-sm" placeholder="First Name" required>
                                        </div>
                                    </div>
                                    <div class="col-xs-6 col-sm-6 col-md-6">
                                        <div class="form-group">
                                             <input type="text" id="lastname" name="lastname" minlength=1 maxlength=30 class="form-control input-sm" placeholder="Last Name" required>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                     <input type="text" id="nif" name="nif" pattern="[0-9]{2}.[0-9]{3}.[0-9]{3}-[A-Z]{1}" class="form-control input-sm" placeholder="NIF (xx.xxx.xxx-P)" required>
                                </div>

                                <div class="form-group">
                                     <input type="email" id="email" name="email" minlength=3 maxlength=200 required class="form-control input-sm" placeholder="Email">
                                </div>

                                <div class="form-group">
                                     <input type="text" id="phone" name="phone" pattern="[0-9]{10,20}" class="form-control input-sm" placeholder="Phone" required> 
                                </div>

                                <div class="form-group">
                                     <input type="text" id="address" name="address" minlength=0 maxlength=30 class="form-control input-sm" placeholder="Address">
                                </div>

                                <div class="row">
                                    <div class="col-xs-6 col-sm-6 col-md-6">
                                        <div class="form-group">
                                            <input type="password" id="password" name="password" minlength=5 maxlength=15 class="form-control input-sm" placeholder="Password" required>
                                        </div>
                                    </div>
                                    <div class="col-xs-6 col-sm-6 col-md-6">
                                        <div class="form-group">
                                            <input type="password" id="confirmpassword" name="confirmpassword" minlength=5 maxlength=15 class="form-control input-sm" placeholder="Confirm Password" oninput="return checkPassword();"required>
                                        </div>
                                    </div>
                                </div>
                                <span id="confirmMessage" class="confirmMessage"></span></br><br>
                                <div class="controls">
                                    <button type="submit" class="btn btn-success">Register</button>
                                </div>
                        
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3"></div>
            </div>
        </div>
        <!--Termina Formulario-->
	</body>
</html>